import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 车辆入库查询 : swagger 车辆验收信息分页查询--PC
export const qryVehicleCheckPage = params => axios.get(`${SERVER.CYXDMS_VEHICLE}/vsStock/qryVehicleCheckPage`, { params });
// 车辆入库查询 : swagger 批量入库
export const inStock = params => axios.get(`${SERVER.CYXDMS_VEHICLE}/vsStock/inStock`, { params });

// 导出车辆验收信息查询导出--PC
export const qryVehicleCheckExcel= params => {
  return axios({
      url:`${SERVER.CYXDMS_VEHICLE}/vsStock/qryVehicleCheckPage/export/excel`,
      method:'get',
      params:params,
      responseType: 'blob'
  });
};
